<template>
    <div class="view-item">
        <router-link :to="{path: '/detail', query:{field: 'view'}, id: data.id}"></router-link>
        <div class="img">
            <img class="view-img" :src="data.img" :alt="data.name" />
        </div>
    </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>

</style>